//
//  Soldier.m
//  OC多文件开发
//
//  Created by 郭志远 on 2023/11/28.
//

#import "Soldier.h"

@implementation Soldier
-(void)fire:(Gun *)gun
{
    [gun shoot];
    
}

-(void)fire:(Gun *)gun clip:(Clip *)clip
{
    if (clip != nil && gun != nil) {
        [gun shoot:clip];
    }
}
@end
